package org.shj.pattern.facade

class Facade {
  private val one = new SubsystemOne
  private val two = new SubsystemTwo
  private val three = new SubsystemThree
  private val four = new SubsystemFour
  
  def logicOne(){
    one.logicOne()
    two.logicTwo()
  }
  
  def logicTwo(){
    three.logicThree()
    four.logicFour()
    one.logicOne()
  }
}